Revert "Added System::getNumDegreesOfFreedom()"

This reverts commit 542ee547480fa81901af22bdee7ad1f10a0ccbc3.
Fixed incorrectly formatted comments that caused problems in the API docs