implemented ostream operator and setupRotation static function
implemented getScale and getTranslation static functions