Updated with new vector stuff, to work with accelstepper 1.31.
Updated hex.