New #contains method, that returns whether a point is on th path or not.\n\nThis resolves most of the failing tests.
More tests