Fixed missing mkdir and cp in gen_dist.sh
Moved the stratum0 specific parameters into parameters set via options
Cleaned up the examlpe code (removed useless math environments)