first stuff for electrical network for uq exercises
implemented some methods for comparison of stochastic approximation methods: