Add intercept, if have functtypecode, then code and move to the front. different from driverMAPS! only allows functtypecode =7 ||8 when functypecode is included in selectvars.

ddmcode(matrixlist, selectvars, functypecodelevel = NULL)