this corrects the right orientation of the laser scan and improves on comparison between 2 double numbers