Updated header with new definitions for rotation functions.