added exponent method in Z/pZ\TODO: doc, use it for inverse method
now using exponent method to compute inverse\TODO: doc
updated doc for new inversing implementation