New block in GUI for SA and GMA

Restructured complex functions . Separated in NN_learning and
NN_analysis modules.
New module in GUI for for SA and GMA