pc_align: Dump inverse transform as well
Core: Add a test to make sure that ip are centered and extrema

The code wasn't testing for extrema and it wasn't centered correctly.