Switched to constant coeffs
Added multithreaded implementation