Added the makePoissonModel

Extra:Modified logLikelihood to use models insted of bins