Returns the matrix of ||x_i-y_j||_p^p.
pts_src – [R, D] matrix
pts_dst – C, D] matrix
p – p-norm
distance matrix
[R, C] matrix