rewrote MSE / x-correlation