This version is broken, with a seemingly very difficult bug in distanceCheck.

I have put quite some effort into both Java and Python debuggers but no luck so far.
SlownessModel almost done.

The bug has been disabled by commenting out the relevant method, that will be re-enabled once the missing methods in SlownessLayer are translated.
This way at least it passes the tests.