Growth and division in a dynamic protocell model