Changed tan(x/y) -> tan(y/x)