BUG: different distance names in scipy