Seems to produce correct bam files for secondary and supplementary alignments.
Just the metrics to correct now...
Metrics now work for regression tests