Numerical analysis of a spontaneous collapse model for a two-level system