Refactor populateVelocities

Also added documentation and removed the node greeting log statement ( :crying_cat_face: )