Fix DistanceMatrix example rendering issue

Fixes #231.
Merge pull request #236 from ElBrogrammer/issue-231

Fix DistanceMatrix example rendering issue