read_hmd function

Read data directly from HMD and construct a vital object for use in other functions