Merge pull request #1404 from akbargumbira/develop

Fix rounding issues and density term.
Fix realtime failing test.
Merge branch 'develop' of github.com:AIFDR/inasafe into develop