Rename nodePos to pos.

After switching to the generalized coordinate model with components
we needed to rename the variable to avoid confusion.