Refactored CUDA MatrixMultiplication