Reshaped Wirtinger Flow for Solving Quadratic System of Equations