added optional partial arg to SoftMaxTree:zeroGradParameters()