Add extended_powell functions and their tests.