fixed a numeric precision problem in the orientation.

changed from int to double to prevent trunc errors.
Maybe roundign will also help fix the problem.

Also some cleanup in camereParam.h includes.