Better handling of trig
More elegant (and costlier) histogram convolution method