[DON'T MERGE] Examples of AD

Here are basic benchmarks using finite-differencing and automatic differentiation.