Changed calculation of v2temp to allow for a general Temperature gradient