Calculate mean between two values in a vector Used in NCA for calculation of mean between two or more timepoints.
Useful links