code: static private float[] subArray(final float[] array, final int offs, int len)
  	{
  		if (offs + len > array.length)
  		{
  			len = array.length - offs;
  		}
  
  		if (len < 0) len = 0;
  
  		float[] subarray = new float[len];
  		for (int i = 0; i < len; i++)
  		{
  			subarray[i] = array[offs + i];
  		}
  
  		return subarray;
  	}
docs: Returns a subarray of an existing array.
  
  @param array
  The array to retrieve a subarra from.
  @param offs
  The offset in the array that corresponds to
  the first index of the subarray.
  @param len
  The number of indeces in the subarray.
  @return The subarray, which may be of length 0.