Pose estimation

- bug #93: fix code which checks number of arguments
- add "Flags" option to specify method used to solve PnP problem
- update docs
- basic unit tests of the two functions