Check timing for matrix multiplication with and without numpy