* rotate_matrix.py: Add type hints for return values
@obelisk0114 Your review please?
* Fix typo
* Run the code thru python/black
https://github.com/python/black
* Fix 270 comment
* Simplify with get_data() and test the alternatives
* ) * 3
* Update rotate_matrix.py
* Update rotate_matrix.py