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