You have G21 at the beginning of the G-code, which defines it as metric and it certainly looks like it's in metric so that's fine. Perhaps Mach3 has inadvertently changed to imperial, as that can scale everything by 25.4 (or 1/25.4) which would make the effect you describe.