Add new BaoFitTools with loadResiduals