changed sensorunit.py for the better