Element-wise rad2deg.
See numpy.rad2deg for more information.
scipy.sparse.dia_matrix.power
scipy.sparse.dia_matrix.reshape