Fit all participants. Added SD as an extra parameter.
Handle empty dataset.