[SciPy-Dev] computing pairwise distance of vectors with missing (nan) values