Arrangements for measuring electric power or power factor by measuring current and voltage in circuits having distributed constants