refactored function to take single integer instead of vector
refactored function to take single integer instead of vector

jniemann66/ReSampler,jniemann66/ReSampler,jniemann66/ReSampler,jniemann66/ReSampler,jniemann66/ReSampler,jniemann66/ReSampler,jniemann66/ReSampler,jniemann66/ReSampler