Least-Absolute-Deviation model working