Changed default oldmass value in setMass operator to None to avoid conflicts