First working demonstration where results are correct. Fixed a problem in transform interface