Classification of healthy, Alzheimer and Parkinson populations with a multi-branch neural network