matrix rotate work well