Corrected links

Did some wrong linking.

And also corrected the TMS link, which was wrong in the original document.