create A1, A2 ant transposed matrices