ENH and DOC: improved documentation and added ni_num_cores and ni_method back from analysis to here
BUG and ENH: fixed maximum iterations for line-search and improved function signature of calc_kT and calc_fint to include the current increment size
ENH: removed ni_num_cores and ni_method from here
ENH: added warning message when maximum iterations in learn search is reached
BUG and ENH: fixed calc_fext and save after moving static to Analysis, code formatting