untested, no longer keep all subspaces, but only triangles and lagrangians. removing big_perp.
changed indents to 4spaces
renamed subspaces2 to subspaces