pub fn array_mean<T>(array: &Array1<T>) -> UtilsResult<T>where T: Float + Clone + ToPrimitive,
Calculate array mean