added support for 2d vectors (immutable arrays)