aded utility for rbm-forward-pass-only and untested convolution in matrix.h