Updates to create average.spec.se() function