Solution of the Optimal Power Flow Problem - Gradient Method