Added funktion for rotating int points