Added HGM model to master branch