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