fix off by one error in slop calculation
fix off by one error in slop calculation

ernfrid/svtools,hall-lab/svtools,hall-lab/svtools,abelhj/svtools,abelhj/svtools,ernfrid/svtools,hall-lab/svtools,abelhj/svtools,abelhj/svtools