Added interface (multi-dim arrays for x/y pos), bugfixes.