make sure that get_massfunc()  returns new instances of classes to avoid changing global states see issue #18
make sure that get_massfunc()  returns new instances of classes to
avoid changing global states
see issue #18

keflavich/imf