invest.nls now works for 'interval = "Wald"'