Manipulating a basis

These routines manipulate a basis of a problem.