pub fn average<T: ToPrimitive>(t: &[T]) -> Option<f64>
average gets the number expressing the central or typical value in a set of data