levenberg-marquardt now supports multiple outputs.