Add the transverse mass function