Moved the passing of costs and utilities from individual vectors to the general parameter list.
Removed a ";" that gave a build warning.