move distance and vector arithmetic functions to new Distance.cpp