Examples updated and typos fixed.