In function multitask_lasso, simplify conversion of scalar parameters