Added parseMachinePenalties.
Tested parseMachinePenalties.