Explicitly define variables in the polys benchmark

This avoids an enormous number of pyflakes errors for this file.