A Depth Formula for Generic Singularities and Their Weak Normality