cleaned up derivative/optimization code, numerical derivative source file ready for ADOL-C, still trying to figure out error in iterative solver