Added code for signed distance, but commented out because the principle is
wrong.
Removed generated files