public Kernel(int offset,double[] values){
  this.values=Arrays.copyOf(values,values.length);
  this.offset=offset;
}

public Kernel ( int offset , double [ ] values ) { this . values = Arrays . copyOf ( values , values . length ) ; this . offset = offset ; }
creates a new kernel object with the specified offset and values .
