Singular problems: existence and homogenization results