Matrix multiplication - first iteration (single-file)