Fixed getCorrectSensorReading so that the correct sensor reading is sent to sensor model