A mass-structured individual-based model of the chemostat: convergence and simulation