Added generation of model_params.py after swarm.

Fixes #736
Writing copyright header properly on model_params.
Merge pull request #738 from rhyolight/swarm-model-params

Added generation of model_params.py after swarm.