fix: fixes for 64 bit system, some other fxes
Merge branch 'DTAM' of https://github.com/andreyM16/SfMTool.git into DTAM
impl