Fixed mTPACore, cleaned mTPAFromPolygon