real-math: move several Vector methods down to implementation classes; templatize VectorImplementation