Make quaternion a numpy array