cartesian To Polar
This takes in an x and y value and converts them to polar coordinates.
Return
this returns the r and theta values, in that order, in an Array of doubles.
Parameters
x
this is the x value of the Point being converted.
y
this is the y value of the Point being converted.