Weierstrass Substitution For Integrals