don't need sum anymore
removed dead code
thinned out apache math lib
calculate distribution with a background job