removed old nlsolve stuff