Adding polygon and matrix for movement