starting gibbs code, includes probability calc; also included skeletons for some other code