Make JavaBlur faster

Use multithreading for the java version also