Use more standard commons math stats where possible

git-svn-id: http://myrrix-recommender.googlecode.com/svn/trunk@641 0d189622-dca1-7e23-9e30-e8815eb7bd2f