work in progress on python CDModel classes
Merge branch '#524' of github.com:GalSim-developers/GalSim into #524