Fix matrix indexing in ClusteringMutualInformation
Fix libc++ compilation problems
aka fixes for OSX 10.9