NASA researchers used a machine learning algorithm that saved them years of manual work