Add: approximate version of the progressive morphological filter

This version is closer to the original paper and significantly faster,
computing the morphological operations on a 2D grid.
Merge pull request #665 from chambbj/approx-pmf

Add: approximate version of the progressive morphological filter