minimum-jerk-problem.cc: optimization work without constraints

Improve test case in order to solve #3