timers, hausdorff dist function, bug fixes