update EMGLLF.c following changes in EMGLLF.R