Fixing figure paths in chapter1 and chapter3.