Smart Grid State Estimation and Its Applications to Grid Stabilization