Performance improvement by sampling once for each sampled state.
Merge branch 'master' of github.com:dankoc/Rdbn into vector_blas

Conflicts:
	src/rbm.train.c