test as3 matrix