Implemented most of ThreeSpaceSensor. Mostly untested