converting lasso code to C. codes in test folder now.