Added GCD and Modular Multiplicative Inverse