cleaned up matlab code

we still need to decide on the SNR plot, the 3 curves make it look
stupid