Ultrasound software evaluates risk of preterm birth