Added onedimensional minimization.
Merge pull request #48 from kuribas/master

Added onedimensional minimization.