A new study looking at Americans over 30 years found three risk factors contributed the most to someone's risk of developing dementia.