Fix example to not rely on calculating the angle of a degenerate vector.