-- bug fix
-- minor modifications for calibration of intrinsic parameters