deleted other unnecessary functions from bam.c and bam_import.c