Algorithm could predict Alzheimer's risk years before symptoms occur