public int returnLowestBin ()	{
		try	{
			int a,lowBin=-1;
			int lowVal=Integer.MAX_VALUE;
			for (a=0;a<circBufferCounter;a++)	{
				if (circDataBuffer[a]<lowVal)	{
					lowVal=circDataBuffer[a];
					lowBin=a;
				}
			}
			return lowBin;
		}
		catch (Exception e)	{
			JOptionPane.showMessageDialog(null,"Error in returnLowestBin() "+e.toString(),"Rivet", JOptionPane.ERROR_MESSAGE);
			return 0;
		}
	}