Fixed upper triangular and correlation distance in DSMatrix

Fixed the pearson metric (it was correlation instead of 1-correlation)
Fixed the get_triangle_vector_form function (it included the diagonal, now it doesn't)
Simplified the code for returning the vector form of the dsm matrix (from 5 lines to 1 line)