End effect corrections in heat and mass transfer studies