significantly improved performance of contig and symmetry (especially)

dynamic programming might not be required, they are pretty fast now!