calibrateDebevec index fix (issue 3664)
Merge pull request #2991 from kovand11:calibrateDebevecFix