Work done for COmpBayes '14 Class