updated macro for recoilFit and added macro for plot