Finding vertical asymptotes and holes of rational equations