2d matched filter, 1989 paper. works, need significant improvement in terms of algorithm