A modified version of cudamat/gnumpy used by Deep_Neural_Network