FS.HGD function

FS.HGD model building