Changed the height measuremenet accuracy to be more precise a retract and lowering is additionally done