added figure example, edits to tex