Fixed allocated type for tmaxhour and tminhour

This pull request address issue #135