pwkit/lsqmdl.py: fix creation of Model.mfunc()