## Author: Jan
## Created: 2016-11-10

function [Dst] = testNeuralNetworkA (w1, w2, w3, input)
  windowSize = 7; #because of indexing, window size will be 8
  records = size(input)(1, 1);
  Dst = zeros(1, records);
  
  for j=1:(records-(windowSize+3))
    inp = [input(j:j+windowSize, 4)', input(j:j+windowSize, 5)', input(j:j+windowSize, 6)', input(j:j+windowSize, 7)', input(j:j+windowSize, 8)', -1];
  
    HHidden1 = inp*w1;
    VHidden1 = activationFunction(HHidden1);
    VHidden1(1, size(VHidden1)(1, 2)) = -1;
    
    HHidden2 = VHidden1*w2;
    VHidden2 = activationFunction(HHidden2);
    VHidden2(1, size(VHidden2)(1, 2)) = -1;
    
    HOutput = VHidden2*w3;
    VOutput = activationFunction(HOutput);
  
    Dst(j+windowSize+3) = VOutput;
  endfor
endfunction
