SMS: Generalized additive models