Affine transformation library for use with .SCO files