Fixed bug with always showing the same picture (error in Encog implementation).