Fix trsm routine