calc median of total loans returned
fix merge conflicts
Merge branch 'contolini-dev' into dev