Profit Functions in Economics