In this subchapter we explore the general idea of nelder-mead and look into the concepts Reflection, expansion and contraction.