NOTE CANCELLATION AND ROYALTY AGREEMENT