Moved dG and dGstd to Types.m and added them to the  variable.