Reshaped Wirtinger Flow and Incremental Algorithm for Solving Quadratic System of Equations