Python implementation of GMYC model