Finding points of intersection between a parametric and cartesian equation