LARS bug fixed

- fixes issue #1158
- Ref : [R implementation of lars](http://cran.r-project.org/web/packages/lars/index.html) and [Matlab library of lars](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=3897)