Updates to initialization of the flash algorithms;
Added an option to enable or disable the phase identification algorithm.