Epsilon Implemetation

fixed distance calculations and upgraded the test