finished converting rbm.train.c to blas ... at least the obvious stuff.