Made docstrings and indentation PEP8 compliant. Fixed a few typos.

Made some minor changes to tools/powersource and tools/ground.