Changed getrotate to reflect new declaration in header and updated equal...

...ity tests.