changed cost.py to conform to pep8

Fixed costs/cost.py as a part of #821
You are right, it isn't there. thanks.