ic_selection function

Selects the optimal penalty parameter using information criteria