fix principal point in image_to_world_coordinates()
An index at the end of the principal point's variable existed from a previous code version that calculated x and y separately, and currently leads to wrong results. This is fixed by this merge request.