A Solution to the Ecological Inference Problem by Gary King