Lattice Gibbs

New implementation of Gibbs using Vojta's code (and a little bit more
clean up)