cleaned up dynarmic array api
added some functionality to lua api