Parallel version by Kåre Krig.
Merge parallel changes into Unix port.

The following works on OSX:
    g++-4.2 -fopenmp source/main.cpp -o ksolve