Parallelisation of w caliculation