calcStandardErrors function

Standard errors for predictions