conversions function

Conversions Between Dense and Sparse Similarity Matrices