Patent Royalties: Structuring Licensing Deals and Maximizing Compensation