Connection Matrix Transformation