Merging distribution matrix into master