merge_matrices function

Merges the matrices S11, S12 and S22 into a sub-intensity matrix