first cut at box distance (doesnt work)
box distance is fine except for some squirrelly NaN results from angular distance