Bug fix for `qm.getLeastPrimeImplicants()`

Fixed major bug with `qm.getLeastPrimeImplicants()`