added a quat to a tensor library.  seems a bit out of place, I know.