Quaternions for Computer Graphics