make these changes compile; note that I had to modify the constructor for Eigen::Rotation2D to allow implicit construction (otherwise multiplication does not work, probably an Eigen bug)