Further tweaks to mathematical morphology functions
Updating description