revised MSE calculation