Corrected score function for errors-in-variables models: Methodology and application to generalized linear models | Synapse