Fixed typos and added a solution for TS figure.