It must be made for the purpose of earning the profits. ' Fines, penalties, damages and the legal costs associated with them will not be allowed as deductions when the penalties are for infractions of the law.