finixhed adding fvar<fvar<T>> and fvar<var> tests for fvar/functions
refactored matrix includes for auto-diff