       # make this a local node property (it may eventually be different per node)
       node.capNodeValues = @capNodeValues
       node.newIntegration = @newIntegration
-      @addIntegrateMethodTo node
+      # Create a bound method on this node.
+      # Put the functionality here rather than in the class "Node".
+      # Keep all the logic for integration here in one file for clarity.
+      node.getCurrentValue = IntegrationFunction.bind(node)
 
   initializeValues: (node) ->
     node.currentValue = null


    step = =>
      _.each @nodes, (node) => @nextStep node  # toggles previous / current val.
      _.each @nodes, (node) => @evaluateNode node, time
      time++
      @generateFrame(time)


    node.previousValue = node.currentValue
    node.currentValue = null

  evaluateNode: (node) ->
    node.currentValue = node.getCurrentValue()

  # create an object representation of the current timeStep and add
  # it to the current bundle of frames.
