Create segDist2.js

Compute the (squared) distance between two segments.