Added attenuation to octave test2 harmonics
Fixed java test signal. A bug remains in the java version.