Added basic simplifying to exactRep