Adaptive Thermostat Mone Carlo (ATMC)