Fixed Vector2D perpendicular error. This was the whole problem with the triangle contains method... rgh