Added data integrity checks for sensor readings