a tool to find the basis of a null space for a given matrix