Scaling Equations from a Self-Consistent Theory of Anderson Localization