Gelesis has raised $30 million as it prepares to file for approval of its weight loss device. The financing equips…