Added calculation of K & M pairs for content knowledge distribution and querying.