revised LASSO homogenization function and removal of equivalent python
script.