Added .py files to replace the long shpquat.sage.