Costs in toolbox.h
Get and Set for Cost functions