A mathematical model of waxing and waning activity in isolated rat duedenum