Allow negative temperatures

Fixes #1