started moving some of the cases from MainProgram to unit tests.
changed the rosenbrock function in accordance to the equation and its known optimum as per wikipedia
moved rosenbrock case from MainProgram.java into a unit test