Fixing example codes to make them similar to other codes in the core of DREAM3D