                                 Apache License
                           Version 2.0, January 2004
                        http://www.apache.org/licenses/

   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

   1. Definitions.

      "License" shall mean the terms and conditions for use, reproduction,
      and distribution as defined by Sections 1 through 9 of this document,
      as supplemented by the Additional Terms below.

      "Licensor" shall mean the copyright owner or entity authorized by
      the copyright owner that is granting the License.

      "Legal Entity" shall mean the union of the acting entity and all
      other entities that control, are controlled by, or are under common
      control with that entity.

      "You" (or "Your") shall mean an individual or Legal Entity
      exercising permissions granted by this License.

      "Source" form shall mean the preferred form for making modifications,
      including but not limited to software source code, documentation
      source, and configuration files.

      "Object" form shall mean any form resulting from mechanical
      transformation or translation of a Source form.

      "Work" shall mean the work of authorship, whether in Source or
      Object form, made available under this License.

      "Derivative Works" shall mean any work that is based on or derived
      from the Work, excluding works that merely link to the interfaces
      of the Work.

      "Contribution" shall mean any work of authorship intentionally
      submitted for inclusion in the Work.

      "Contributor" shall mean Licensor and any entity whose Contribution
      has been incorporated into the Work.

   2. Grant of Copyright License.
      Subject to the terms and conditions of this License, each Contributor
      hereby grants to You a perpetual, worldwide, non-exclusive,
      royalty-free copyright license to reproduce, prepare Derivative
      Works of, publicly display, publicly perform, sublicense, and
      distribute the Work and such Derivative Works, subject to the
      Additional Terms below.

   3. Grant of Patent License.
      Subject to the terms and conditions of this License, each Contributor
      hereby grants to You a perpetual, worldwide, non-exclusive,
      royalty-free patent license as set forth in the Apache License,
      Version 2.0.

   4. Redistribution.
      Redistribution is permitted only in compliance with this License
      and the Additional Terms below.

   5. Submission of Contributions.
      Unless explicitly stated otherwise, Contributions are provided
      under the terms of this License.

   6. Trademarks.
      This License does not grant permission to use trademarks or trade
      names of the Licensor.

   7. Disclaimer of Warranty.
      THE WORK IS PROVIDED "AS IS", WITHOUT WARRANTIES OR CONDITIONS OF
      ANY KIND.

   8. Limitation of Liability.
      IN NO EVENT SHALL ANY CONTRIBUTOR BE LIABLE FOR DAMAGES ARISING
      FROM THE USE OF THE WORK.

   9. Accepting Warranty or Additional Liability.
      Any additional liability accepted by You applies only to You.

   END OF TERMS AND CONDITIONS

   --------------------------------------------------------------------

   ADDITIONAL TERMS: NON-COMMERCIAL ACADEMIC USE ONLY

   Notwithstanding any other provision of this License, the Work and any
   Derivative Works may be used, reproduced, modified, and distributed
   **solely for non-commercial academic research purposes**.

   Commercial use of the Work or Derivative Works — including but not
   limited to use in a commercial product, service, consultancy,
   proprietary research, or for-profit activity — is strictly prohibited
   without prior written permission from the Licensor.

   Copies of the Work obtained under earlier licenses (including the MIT
   License) remain governed by those licenses.

   To inquire about commercial licensing, please contact:
   yxz1826@case.edu

   In the event of any conflict between these Additional Terms and the
   Apache License, Version 2.0, these Additional Terms shall prevail.

   --------------------------------------------------------------------

   APPENDIX: How to apply this license to your work.

      To apply this license to your work, attach the following notice,
      with the fields enclosed by brackets replaced with your own
      identifying information. Do not include the brackets.

      Copyright 2023 Y Zhou

      Licensed under a modified Apache License, Version 2.0 with
      additional Non-Commercial Academic Use restrictions.
      See the LICENSE file for details.

      Unless required by applicable law or agreed to in writing, software
      distributed under this License is distributed on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND.
