Some general improvements. Fixed a bug in travetime computation wrapper functions