Adding error check to cuda_matrix_dot