The effects of ageing on pattern discrimination