Update functions2.R

add dfmax to excoeff, outfct and coefsdat