fit function

Fit method for the Samples class