I'm updating my variable conventions: optimization state is now "b" not "p". Previously "p" represented both points in space and optimization state. I thought the meaning would be clear from context, but it does clash sometimes. This patch tries to update EVERYTHING: comments, documentation, code. Some spots may have been missed here and there