Changed getrotate to reflect new declaration in header and updated equality tests.