The dynamical mass of S Muscae