Create GHF_v2.m

Added GHF_v2 code.