Corrections to the code in order to adopt to the new random generators and reference strings.

Problem: equals / hashCode not yet ready for Element... This way, PseudoRandom / ReferenceString has to borrow equals and hash from BigInteger... Must be fixed in a future version in order to gain speed!