Added HMD recenter support. Updated examples to support HMD.