Writing scaling parameters to file. PEP8 Compliance.