Bug found: This set the thermal source and its tangents to zero due to the use of the same RefFunction for both w_T and w_V.