<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def npedln(a, b, c, linept, linedr):
 """ Find nearest point on a triaxial ellipsoid to a specified line and the distance from the ellipsoid to the line. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/npedln_c.html :param a: Length of ellipsoid's semi-axis in the x direction :type a: float :param b: Length of ellipsoid's semi-axis in the y direction :type b: float :param c: Length of ellipsoid's semi-axis in the z direction :type c: float :param linept: Length of ellipsoid's semi-axis in the z direction :type linept: 3-Element Array of floats :param linedr: Direction vector of line :type linedr: 3-Element Array of floats :return: Nearest point on ellipsoid to line, Distance of ellipsoid from line :rtype: tuple """

    a = ctypes.c_double(a)
    b = ctypes.c_double(b)
    c = ctypes.c_double(c)
    linept = stypes.toDoubleVector(linept)
    linedr = stypes.toDoubleVector(linedr)
    pnear = stypes.emptyDoubleVector(3)
    dist = ctypes.c_double()
    libspice.npedln_c(a, b, c, linept, linedr, pnear, ctypes.byref(dist))
    return stypes.cVectorToPython(pnear), dist.value