When using the Allegro version of the code to train other hands such as LinkerHand, I discovered that the results of the cal_distance and cal_self_distance functions in the handmodel were incorrect. At the outset of training, even when the hand is far from the object, one might still claim significant penetration.