Decided to abandon IPMpack.  This is the more general code that we are working from now 2-8-13