Firstly, apologies if my response is off the mark, I havent been coding in over ten years, your mail hit my radar becauseit contained the words neural and code.
1) the variables being initialised in the functin initialiseall wont exist outside of that function. You either need to make the variables public static variables in the class or pass the initialisation results back out to the calling function and apply them to variables there.
2) giving the photo incentive with the question doesnt incentivise giving a response! Should be photo for answer :-)
PS. Sent from my eeePad so please excuse punctuation mistakes.