improve N on elementary functions