 double stepperZdestPosition = 0;
 double stepperZtimer = 0;
 int    stepperZtoggle = 0;
-double stepperZspeed = 3200;
+double stepperZspeed = 2560;
 
 int motorpinEstep = 28;
 int motorpinEdir  = 29;

//measured (1000 = 1mm)
double tablexdistance = 180;    //in microns (158mm )
double tableydistance = 200.0625;    //in microns (200mm)
double tablezdistance = 69.2347;    //in microns (96mm)
double tableedistance = 1000.000;    //in microns (96mm)



     stepperYdestPosition = round(newysteps)*2;
     stepperZdestPosition = round(newzsteps)*2;
     stepperEdestPosition = round(newesteps)*2;   
     
     while ((stepperXdistanceToGo() != 0) || (stepperYdistanceToGo() != 0) || (stepperZdistanceToGo() != 0) || (stepperEdistanceToGo() != 0)) {
         stepperXrun();
