Text this: New approach to the design of digital algorithms for electric power measurements /