Projection formula from Duchi et al's paper Efficient Projections onto the l1-Ball for Learning in High Dimensions