When I stated in your previous thread to check wiring you responded I was definitely wrong then that you had found the broken wire.
When I stated the code was wrong and would not run in a different thread, you replied I was wrong and later PM'd me to get the edit to correct that code.
Again I try all axis are using same measurement scales they cannot do otherwise, therefore your tuning steps per unit are incorrect they are for mm's if axis is moving in mm and for Inches or out by a factor of 2540% if axis is moving in inches instead of mm.
There is no alternative computers just do what they are told, you put rubbish in you will only get rubbish out its the way it is.