The Relativistic Oscillator and Mass Formulas