Created a function to normalise XMFLOAT3