Constructor of the camera by pos and target points