Modified firdes to conform to conventions. M is the filter order, but the function returns M+1 impulse samples.