Rewriting data_reduction and render_graphs.

Preparing for adding more reduction methods.
Fix typo, reading->readings
Decide not to allocate python list before assignment.
Fix copywrite in header.
Add other smoothing/reduction methods.
Fix type error and remove dead code.
Merge branch 'staging' of github.com:visgence/portcullis into dataReduction

Conflicts:
	graphs/display_graphs.py