Solved a segmentation violation problem
	*check if the vector of the data collection is long enough to access to a certain element
Changed the options of the fit:
	* Q to set the verbosity to quiet
	  L to do a maximum likelihood fit
Code reformatting