Made routine for testing convergence to IM for TSM