Fixed watermodel slope calculation edge case.

https://github.com/mariusnita/ecostem/pull/21