Computing and Using Minimal Polynomials