Element-wise deg2rad.
See numpy.deg2rad for more information.
scipy.sparse.csr_matrix.count_nonzero
scipy.sparse.csr_matrix.diagonal