Update flexSensor.py

connsistency issues