Adding some whitespace and comments.
Adding a RandomScalarGeneratorNode and making nodes easier to register/unregister.