add paper
improved codegensubs to handle lucamodel parameters in power