Simplified ionosphere example.

Removes the redundant function `total_electron_content_filter` from the example. Also makes the example PEP8 compliant.