Bugfix.
Better import and inverse transforms, bugfixes.