Eating a diet rich in healthy fats and limiting dairy and meat could do more than keep your heart healthier. It could also help keep you thinking clearly.