add toArray method
make constants public
add test for adding a coordinate with polar coordinates, issue #78
wrap long line