Stateful transforms compatible with 'mgcv' R package

Hi!
I've added the file *mgcv.py* containing the code for the following stateful transforms: *cr/cs*, *cc* and *te*.
Benoît. 
Yes exactly, the description of ``constraints``is indeed misleading, I'll rephrase it in terms of natural unconstrained parameters