(libhooke.py) fixed stupid algorithm for finding nearest contact point