implemented Vector4 from hex constructor and static factory method