fixed parameters of register functions
Merge pull request #337 from kirk24788/master

registerRotation parameters