Gkp Error Correction And Quantum Gate Calibration Using Phase Estimation