Added FUN LINSEG, reducing boilerplate code in dynk_parseFUN by introducing subroutine dynk_checkargs(nfields,nfields_expected,funsyntax) and subroutine dynk_checkspace(iblocks,fblocks,cblocks)