getCSMF function

Obtain CSMF from fitted model