script for KL divergence and readme