Simplified SimulationOptions.Costs, replacing the array with a structure, and updating all accesses to match.