Efficient Euclidean projections in linear time | Synapse