fix liscense and copyright
mege pcd and cdk to rbmstatistics
fix nn examples

in some examples the specified learningrate functions did not take two
arguments
fix error in dbn train
allow decaying learning rate and momentum
return normalized weight changes
separate weight updates into function
rbmstat return normalized error
fix comments
typo in rmbstatistics
fix typo in rbmapplygrads
clean display output
add notes on momentum
various changes to RBM code
create movies and sample functionality
Merge branch 'deepbeliefnetwork'
.
Merge branch 'deepbeliefnetwork'