broken version of new ndarray-magic
tools.macro still doesn't work properly
snapshot version of tools.macro