adding the prob vect for the rows