Make use of mean and std dev

#7

Still requires entropy to be sorted.