First commit.
Implementation and testing of the distance transform.