Calculate the runtime of the naive matrix multiplication and record the MFLOPS