corrected matrix distribution among proc