Update solvers.f90

Moved calculation of ts outside loop