removed levenberg_marquardt() and use Optim as dependency