Creates an nxn matrix M, and computes M * Transpose(M) with CUDA.