Create Distance Sensor Algorithims