Power Quality Enhancement in Smart Distribution Systems