Algorithms of Calculation of Electrical Quantities Intellectual Distributive Electrical Networks Including the Transitional Mode