Almost complete ANN. Needed test properly working.