Fixup modal_map transpose and linking pitch handling code plus
tests for such.