scm function

Fit the Soft-Configuration Model