An afternoon nap could improve your cognitive abilities, study says