Added code for examples for Yannis' talk in June2014
small edits to nl transofrm code