Source code I converted from MatLab for computing the mutual information of a pair of stochastic variables.  Based on work by Suzuki and Sugayama as a result of a Kaggle competion I entered as a programming assignment for a class.