potentials.py made PEP8-compliant