Fixed minor bug, x replaced by 1/z