Added brush direction slider.
Moved kernel filter to separate class.