code: public static Kernel1D_F32 create1D_F32( double[] kernel ) {
  		Kernel1D_F32 k = new Kernel1D_F32(kernel.length,kernel.length/2);
  		for (int i = 0; i < kernel.length; i++) {
  			k.data[i] = (float)kernel[i];
  		}
  		return k;
  	}
docs: Converts the double array into a 1D float kernel
  @param kernel Kernel in array format
  @return The kernel