Multithreaded, SIMD vectorized version (not complete, just started)