modified genBasis so that when TBas<=0, it will just use the nascent basis to perform the fit.