findmass function

findmass