Implementing one also finally gave me a way to intuitively grasp (and remember) the chain-rule from calculus.