updated mean squared error equation