matrix multiplication code completed (missing timing)