Add matrix rotate problem