A function for calculating bootstrap SEs
A function for performing tests on the residuals