Adding tests to the CPU implementation.
Trying to synch up the inputs of the CPU and GPU DBN routines.