Added optimised contributions based on cost and started putting ggvis chart together