Fixed a bug in the lpToTableau method.