getNumDOF fixes.
Fixed merge mistake in RBM.
Copy contactConstraints over from master.