Email Record: Automatic differentiation in MATLAB using ADMAT with applications /