Swap order of lensing and centroid shift since lens operation is relative to stamp center, not profile centroid
Add allclose test with return code to support scripting