Updates to homography model - used sympy to get derivatives.