Added most rationalization and trignometric expansion