Bill Cosby’s lawyers have presented expert testimony about memory ahead of closing arguments in his sexual assault case.