Added draw_sample method to BBN class.