Updated undistortion logic for new calibration file structure. Old calibration files are not supported anymore!