Finds a basis for the affine complement of a set of points