Ip is the sum of Ig and Ik, but Ik is wrong.
Made inner loop to repeat Vk calculation with new ap
Overhaul of secant methods.
Ik and Ip are inverses, Vk is a sawtooth.
Something fishy around zero.