adding L0 normalization to matricies and vectors