Changed dimension of target matrix