Changed isPointWithin so that it didn't use Java polygon so that you could use it on android