Takes the initial and final postion+orientataion. Return the Euler Spiral parameters k, gamma and curve length with the equations: Curvature K(s) = gamma*s + k. Here s is the arc length.