added some functions for testing gibbs on results and collected some bibs