removed deprecated call
Merge pull request #2 from mitdrc/fix-num-dof-call

removed deprecated call