ENH: Generate stats after sampling. Add self.logp
ENH: Add debug flag to optimization.