Created a new Measure class which Laser and Sonar both use. This made
the two inner classes inside Laser and Sonar redundant so they were
removed.