added figures and likelihood equations