Better Error Handling

Added better error handling so that an error is thrown when thermistor
values are out of range