A feedback controlled continuous culture device with multiple inputs