updated test_em_algorithm, added print statements in bam_driver