Changed IPOPT options to mumps linear solver instead of ma57. This allows for deterministic yet slightly slower solutions. Pendulum on a cart example updated to function calls.