WriteMatrix algo now uses Pio; round trip works