Remove unused functions; update tests
Change random_odd_mpz to random_mpz in encryption function