@brief Function that converts @f$x@f$ from degrees to radians.
@param x Angle @f$x@f$ in degrees. @param deg2rad Angle @f$x@f$ converted to radians.