modified gpcr_gmm.py