Fixed error in meas_error
Added namespace update to meas_error
More changes to meas_error