more fixes and tests
measure timing
sample blur algorithm