fixed (tx,ty) handling in matrix multiplication