Added recognition for trans node in linsolve and modified sne solvers to use linsolve instead of trsolve