controlling heads based on thermal bent actuators