Added some comments to the derivative steps