Replacing euclidean() with fabs() and modifying min3() made quite a difference
![screen shot 2013-06-14 at 10 21 19 am](https://f.cloud.github.com/assets/965948/653096/6453cfc4-d4cd-11e2-8f87-bfa146ce126c.png) -> 
![screen shot 2013-06-14 at 10 21 08 am](https://f.cloud.github.com/assets/965948/653125/df9306d2-d4cd-11e2-9ea0-7d145fea1be7.png)