Tests for maxPos and minPos added
Linear baseline option added to 1d fitter