RMSE function

Computes the Root Mean Squared Error