again large rework of gibbs sampler
Merge branch 'generic-gibbs' of https://github.com/aolsux/pinky into malik/work
moved stuff to loglikelihood and rbm header
some further fixes
Merge branch 'generic-gibbs' of https://github.com/aolsux/pinky into malik/gibbs