added rainmap calculation, still needs some tweaking and UI