Fixed min_wrapper bug (for Regression)

Can now optimize parameters for regression, although classification is
still broken
Merge pull request #7 from mathDR/master

Some parameter Optimization Capability