Removed an error resulting from impropperly coppying q_vec in G(P,q). The recursion-equation is still not working propperly.