pthreads version of blur added, not tested