Fix DistanceMatrix example rendering issue

Fixes #231.