Changed something around in thermostatmodel.java