cleaned up gibbs_output, edit metric, added tester for metric