Statistics Stuff in Haskell