Fixed mean/median for kde dict result