added time tracking for matrix multiplication