merge grains according to the adjecency matrix A
Syntax
mergeByGraph(job)
mergeByGraph(job,'threshold',5*degree)Input
| job | parentGrainReconstructor | 
Output
| job.grains | reconstructed parent grains | 
Options
| threshold | child / parent grains with a misfit larger then the threshold will not be merged |