Added code for image shift calculation for integration into C#. The code calculates the image shift and rotation with respoect to camera.