fixed exceptions on collinear vectors