A set of matlab routines for GPU based DNN