added the python script for KL methods

@karlnapf 
take a look at this.
bsd please. think ive mentioned that before