Calculus 3: how to find the curvature given a vector function