internal int encodevs(float[] a, csBuffer b, int step,int addmul) { int best=besterror(a,step,addmul); return(encode(best,b)); }