New app helps identify risk of premature birth