Began the process of moving input matrix data onto device for whole algo