added code for precipitation
Merge https://github.com/teofiln/mk_environment