added pow for rational Functions.