Vector3 class prepared for use in 3d.
Changed time variable name to better suite its use.