Spiral matrix