Adding AD supporting files, now using overloaded AD math primitives everywhere.