BUGFIX:
- typo in rotation formulae
- sanitized scaling setup as previously done with rotation