Fixed sampling function in BAMPE mode.
Fixed issue #57: chromosomes in BAM header but without any
alignments. Also updates on optimal cutoff calculation.