Pavin leads Allianz Championship by two over Funk, Langer and Senior