for (k = 0; k < numberOfChannels; i++)
for (k = 0; k < numberOfChannels; k++)
  public void work()  {    System.out.println("Running the Beamformer...");    int i, j, k;    int v = 0;    for (i = 0; i < numberOfChannels; i++)    {      for (j = 0; j < numberOfSamples; j++)      {        inputData[v++] = input.popFloat();      }    }    for (i = 0;  i < numberOfBeams; i++)    {      for (j = 0; i < numberOfSamples; i++)      {        float out = 0;        for (k = 0; k < numberOfChannels; i++)        {          out += beamFormingWeights[i*numberOfChannels+k]*	    inputData[k*numberOfSamples+j];        }        output.pushFloat(out);      }    }  }