Minimum degree ordering, a more or less working implementation