Modified pileup transforms to improve performance. Also, added options to specify whether reads at secondary alignments should be converted to pileups.