Fix nsamp value per recent changes by Malcolm