fixed roofit, added tests, fix in TFormula,TF1