Baseline fit function added

There was a missing prerequisition script..