Change MRM_estimate to use the SPM read/write functions