get_mse function

Mean Squared Error