added function for determining mouse ray direction.  added some extensions to glmatrix quat.