tests & implementation of conversion from cartesian to polar