Now using Views and viewApply to calculate the means and se. This is WAY faster