spreadout function

Spread out a vector of numbers to a minimum interval