Fix setting of default method and starting location
Fix setting of default method and starting location

* Accept functions that implement only F(), FDf() or F(), DF() methods
* Update function call stats also when setting the starting location

gonum/gonum,gonum/gonum,gonum/gonum