sparse_score_mat function

Convert a subset of a square score matrix to a sparse representation