Text this: Accurate Detection and Correction of Technical and Non-Technical Losses Using Smart Metering