sm function

Specification of smooth terms in (g)amlps function.