fitDiversityModel function

Fit diversity-dependent phenotypic evolution model