Fixed expand bugs, added toString methods which don't use lisps, and added pow expanding