Trying out Gibbs

Added Tomas's Gibbs code