Please solve the programming task below using a self-contained code snippet in a markdown code block.

You are given a 2D matrix of size m x n, consisting of non-negative integers. You are also given an integer k.
The value of coordinate (a, b) of the matrix is the XOR of all matrix[i][j] where 0 <= i <= a < m and 0 <= j <= b < n (0-indexed).
Find the kth largest value (1-indexed) of all the coordinates of matrix.
 
Please complete the following python code precisely:
```python
class Solution:
    def kthLargestValue(self, matrix: List[List[int]], k: int) -> int:
```