 	m_print(MatrixC);
 #endif
 
-	sample = (float *) malloc(sizeof(float) * samples);
+	output = (float *) malloc(sizeof(float) * samples);
 	blocksize = 100;
 
 	device_MatrixCA = m_new(blocksize, MatrixA.cols);


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


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