rosenbroch function example, and fixes to LBFGS
need to set a max iterations in LineSearch.
Added capability to specify layer configuration in .train
Merge pull request #54 from GratefulTony/patch-1

Added capability to specify layer configuration in .train
fix to pull request #54...