added mpi initialisation and grid subdivision

breaks cg!!!
fixed error in cg initialization