STM related. speciestrait_glm.R works