improved validation
improved validation even more

added type check for end temperature
wrote temperature converter class