Implementation of the Trait Donor Query. Functionality is complete, yet the correctness of the calculated results is dubious and needs readdressing. Issue: GCP-4738, Reviewer : None - will review after correction of numerics