Added inline documentation for which.mean.