Fix bug in nullspace removal

Now there you specify in which direction you want to remove a linear nullspace, rather than trying to remove all directions at once.  Add two tests.