Supported numpy arrays as inputs for distances.