Clean-up examples
Slight change in example systems
Turn examples into proper modules
Fix typo
More typos
Fix name shadowing issue
Expose function for benefit of debugging
Typo in README