Fixed a bug regarding apostrophes, commas and newlines on tags when writing the CSV file. Fixed a bug in the DistributionalMutualInformation class.