A generalized definition of derivative that works on manifolds.
TODO: how does it maintain a single value even across different coordinate charts?