add depthSensor.c to repo. Removed unused code