Update refinetformestimate.m