General Additive Models for Zelig