removing slower python random rotation function #6