implemented most columnar scaling algorithms on sparse matrices