Completed and Commented RBM and DBN code. Tests ready and working.