Improving getTemp function speed through caching.
Merge pull request #143 from Smjert/master

Improving getTemp function speed through caching.