make non-quad matrix