Deep Learning Enabled Classification of Cognitive Impairment Stages Using MRI Images