Added apply methods in Vector3 class