 
 	SNDFILE *outfile = sf_open("filter.wav", SFM_WRITE, &info);
 	assert(outfile);
-	sf_writef_float(outfile, sample,samples);
-}
+	sf_writef_float(outfile, output,samples);
+}

	m_print(MatrixC);
#endif

	sample = (float *) malloc(sizeof(float) * samples);
	blocksize = 100;

	device_MatrixCA = m_new(blocksize, MatrixA.cols);


void generateSignal() {
	int i, j;
	float* output;
	Matrix MatrixCA, MatrixCA_line, output_chunk;
	Matrix MatrixAp, tmp_MatrixAp;
	Matrix tmp_state;
