Fix dot product clamp range for vector angle functions.

It seems the fix for issue #145 introduced a problem with the range of the dot product function
in angle() and orientedAngle() limiting the range of the output angle.