 double tableedistance = 1000;    //in microns (96mm)
 
 double maxmotorSpeed = 12600;
-double motorSpeed = 9600;                                           //default 9600
-double motorAccel = 80000; //steps/second/second to accelerate      //default 80000
+double motorSpeed = 12600;                                           //default 9600
+double motorAccel = 160000; //steps/second/second to accelerate      //default 80000
 
 // Motor pins
 int motorpinXstep = 7;


///////////////////////////////////////////////////////ZERO X OVERHANG SIDE TO SIDE     
    
    stepper5.setSpeed(6400);
    stepper5.setAcceleration(999999);          
    
    while (digitalRead(xZeropin) != xZeroNC) {   
      stepper5.moveTo(stepper5.currentPosition()-10);      //change to +4 for zero on opposite side      

//physical movement scale (bigger == more);
double tablexsteps    = 13000;     
double tableysteps    = 13000;
double tablezsteps    = 100000;    //257142 (100mm) from top (STEPS FROM TABLE SURFACE TO TOP) 0,0,0 is FAR LEFT BOTTOM
double tableesteps  = -3600;

//measured (1000 = 1mm)
