row/col swaping in simplex.py, parser added