Explain how the cognitive perspective has been applied to improve the accuracy of eyewitness testimony.