thesis: added chapter 'shapes as metric spaces' and some writing