Gestion VJob 
Refactor CostFunction