Writing function to calculate RMSE