Store tmCore/TMAX as float not int to avoid loss of precision - thanks g7ruh. Closes #1