Added a debugging statement to see if the momentum term is being calculated properly...