added an L1 function that uses cem weights