changed to matrix for blocking and gfx
gfx and blocking matrix help functions
blocking and gfx now matrix