First and lazy attempt to implement multicore calculations. Deprecated. The work is done in the `multicore` branch.