Transformations --- Based on [transformations.py](http://www.lfd.uci.edu/~gohlke/code/transformations.py.html) by Christoph Gohlke