Matrix: B=trans(B) resize problem solved, improved B=trans(B) performance