small fix on pointPolygonTest

wrapping cells and numeric matrixes as the others