extend vector_math to work with arbitrary tuple sizes