This should fix a division by zero exception, leisure doesn't take density into consideration, only povn.
Updated the reporting function.

Added citizen, worker, traveler and network value over time to the
report. Added some styling.
Added percentage based facility bonuses.

Apply the alter.sql to add the required columns to the database.
Percentages are expressed as percentages added. A bonus of 10 in the
percent columns with a base of 200 will produce 220.