Added an EdgeFilter class and fixed some typos