FIX: partial evaluation, GB computation works.

* Critical fix in partial evaluation:
  a) Do not left-shit signed 1!
  b) Incorrect indexing.
  c) Bad parameter ordering in getCombinationIdx.
* Some optimizations (do not process rest of the space if we are finished already).
* FGb code cleanup, init, deinit, polynomial dumping to separate methods.