Email Record: New approach to the design of digital algorithms for electric power measurements /