fixed minimizeL1Norm