Check valid temperature range
Fixes #31