bfgsEnet function

smoothly approximated elastic net