clean up NXTSensor class