Added MultiKrzCor
added file qgen.func.R