Updated R code to address issue with $.lambda which is apperently not accepted anymore in R versions > 3.
Remove redundant code & Fix bug in reading excel sheet.