added camera calibration and fixed reconfiguration issues