added handling of camera parameters estimation errors (#3122)
added 'cmath' include
fixed Windows build
removed trailing whitespaces causing warnings
updated docs
fixed include for Windows
fixed docs
Merge pull request #1079 from AlexeySpizhevoy:master