function Mat_G=FormG(PD,QD,Loadi) Mat_G=[ sparse(PD); sparse(QD); ]; end