First two sections of chain rule drafted.