started working on Haar-filters in Matlab