sgm4 diagram