Rename to err instead of error
Keep also center point for later use
Implement distance functions
Adding build and docs links
Adding travis file