Regularity Of Free Boundary In Variational Problems