Add morphology function and bottleneck distance function

TODO: Implementation of both functions