Add fitCurve2() for much more points.
Add MgView.setCommand(name, params).
Add MgView.setCommand(name, params).