Replace casting with trait functions
Shorten vector macros
Remove unnecessary Option arguments
Add Rotate trait