Updated reference state for HS for MM

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
Change the logic of DEF and RESET for set_reference_stateS; RESET removes entirely all the offset terms

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>