Some mathematical routines

Degrees modulo N calculation
Elliptic equations
Entropy calculation
Binomial entropy calculation