fixing problem where PVector.angleBetween() returns NaN