Extract method PathCursor::node().
Move rippleCalculate to being a method on RippleCalculate again.