MOD: add comment for computeDis function