added cost
Merge branch 'master' of github.com:DropD/fnc-simplex