Provided general non-Mersenne-operator, and some corrections and updates.

Incomplete tests and implementations.