Added option for squared norm to gpc_norm