A way to generate, store and retrieve complex stepper motor curves