first draft for pymc3, chapter 1 mostly done