Removed Fit from SPAlgo, added new SPAlgo member functions