initiated the matrix element generator