Some algorithm change

the x axis is now flipped around to get readings from the camera's
perspective.