pub fn mean<T>(v: &[T]) -> Twhere T: Float,
The mean is the sum of a collection of numbers divided by the number of numbers in the collection. (reference)[http://en.wikipedia.org/wiki/Arithmetic_mean]