Added q as a function

Allows for faster typing but left quaternion for robustness