Poor memory not lower intelligence to blame for bad grades, finds study