Added reduce_chords.reduce_to_triads and reduce_chords.reduce_to_quads. The latter needs debugging