Fixed stupidity in rotByN