update nb
fix and debranchify warp distnce calculation