modCost function

Calculates the Discrepancy of a Model Solution with Observations