Why this ‘genius’ scholar is mapping out the world’s largest jail system