Measurement of Double Differential $\text{t}\bar{\text{t}}$ Production Cross Sections with the CMS Detector