Account for angle of sensor.