fixed some bugs related to the choice of "fleets", "Nsamp", "years"

The previous code didn't work if there was a smaller number of fleets taking age samples (including no vessels).
This problem has been fixed here.