WIP operation.
Corrected bug with lattice zero that had no inputs or no parties.