adds point check to function voronoilib.tools.polygon:new(inpoints,inindex)

function voronoilib.tools.polygon:new(inpoints,inindex) crashes because sometimes it gets a "polygon" with 2 points and can't continue. adds a check to make sure the points are geater than 3. only a temporary fix, need to find the root of the problem.