normalize score matrix, and store it as an sparse matrix