Fixed bug in means function
Merge branch 'master' of https://github.com/kaspermunch/MultiPurpose