Added padic functions which take rationals as arguments.