instead of using a parfor loop, used spmd to and for loops to have each worker run dynaField.m for different parts of the measurementPoints array. resulting runtime decreased by approximately half