New calculation of the transverse mass