Generate controller gains source and header files.

Require Python module Jinja2 for controller gains generation.