powered by
A function to compute the midpoints of a vector
midpts(x)
a vector
the midpoints, a vector of length length(x)-1