qvec implemented but not verified (still seems wrong)