Return a zero grid from normalize if the norm is zero. Add pythagorean-sum and pythagorean-complement.