Studying the Impact of Training Algorithms of Artficial Neural Network for Segmentation Accuracy of Synthetic Brain MRIs