Decrease the tolerance and increase the counter number. Also added code to measure the thermal error after thermal eq. Finally outputs data in Andre's perferred form.