Vector3d files

Added vector3d code from https://github.com/kohlditz/vector3d