grouped_sp_norm function

Calculate common norms