Fixed a numerical problem with the vec.angle code.