fix transformations to use tosys over fromsys for intermed frames
fix up round-tripping test
tweaks from round-tripping test