working prototype; implemented gibbs sampler

Signed-off-by: Matthew Webb <mawebb@math.byu.edu>