Add Ponderation function
Add ponderation attibute to task struct