Fixed error in rotate() parameters & comments