Convert x,y,z stream into stepper motor pulses