some bookkeeping

moved all elstat and egstat variables to the parameter module
add control to ensure elstat values before integration in xcoh and
subxcoh modules