Commit of first version mpi code, some small changes to serial and omp versions. Still need to add 2^k feature.