Iterative reconstruction of thermally induced phase distortion in a Nd3+:YVO4 laser