Cleaning and calibration of sensors