this centers only the non-zeros of the input matrix, right? not sure whether thats mathematically correct.