Add approx and udt examples, update examples and  Makefiles
Improve expression decomposition