finished rms_error_power