Added functionalities to compute the modulus and square root (Gruppe Gebhard, Velten)