include function to compute mutual information
add W_HIST_PATH to include W history
include some lines (in annotation) for testing MI and corrcoef