Remove unused functions to calculate salref

Change name of params :  'nb_ram' -> 'nb_years' and 'nb_sam' -> 'nb_y