Update src/node/class.node.js

changed code to use new vector/position math functions