sparse_mean function

Calculate the mean concentration at all time points for use in sparse NCA calculations