Some small fix.
1) Linear algorithm is working;
2) OpenMP is working.