Added pthreads version of the linear equations solver.