I'd like to see longer variable names. Took me half a minute to figure out "mach" was a machine and "nmach" was the number of machines. Just a few extra characters would significantly reduce the cognitive load.