distance and angle methods

these should come in handy for converting from cartesian to polar
coordinates