added a `levelCount()` function
added a `distanceToPoint()` and `angleToPoint()` function