function initState = initst(p = period, fg = firstGeneration, val = outValue, ng = numGenerations, m = mean, s = seed);