added protection from reincluding control_algo.h;
added protection from usage of get_next_step() without setting algo_type first;
arrays' define fixed;
#12