Optim proj mat scatter
Optimization: The application of the phase is merged with the copy to the mesh, to only access the grid only once. An quick test gives an improvement of 25% of the cost of the routine.
- I have checked that my code follows the Octopus coding standards
- I have added tests for all the new features added in this request.