Add equals and toString methods to existing math stuff