Rename GetCost to more correct GetSlack