added zig-zag matrix implementation
Merge pull request #146 from pfalabella/zigzagmatrix-impl

added zig-zag matrix implementation