added declaration of vector3D in types.h