given a vector and length smooths the vector to a given size
binner(start, end, nbins)
start
start position
end
end position
nbins
number of bins