add cpplex template, change problem sizes to be powers of 2.