added affine transformations
Revert "added affine transformations"

This reverts commit 45c7c0ed7287fd641194ab36454020563bf940b6.