Added much more functionality. Support for traveltime calculations.