inverse() added, but partly worked.