Finished implementing gradient filters.