update second trial of spiral-matrix i and ii