added functions for rotating point and normalVector