<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def dskrb2(vrtces, plates, corsys, corpar):
 """ Determine range bounds for a set of triangular plates to be stored in a type 2 DSK segment. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/dskrb2_c.html :param vrtces: Vertices :type vrtces: NxM-Element Array of floats :param plates: Plates :type plates: NxM-Element Array of ints :param corsys: DSK coordinate system code :type corsys: int :param corpar: DSK coordinate system parameters :type corpar: N-Element Array of floats :return: Lower and Upper bound on range of third coordinate :rtype: tuple """

    nv     = ctypes.c_int(len(vrtces))
    vrtces = stypes.toDoubleMatrix(vrtces)
    np     = ctypes.c_int(len(plates))
    plates = stypes.toIntMatrix(plates)
    corsys = ctypes.c_int(corsys)
    corpar = stypes.toDoubleVector(corpar)
    mncor3 = ctypes.c_double(0.0)
    mxcor3 = ctypes.c_double(0.0)
    libspice.dskrb2_c(nv, vrtces, np, plates, corsys, corpar, ctypes.byref(mncor3), ctypes.byref(mxcor3))

    return mncor3.value, mxcor3.value