temp commit.
Local Minima Algorithm fully functional.