made a common class for both mc and dc to make the factorize some common code
added some more distance field functions
removed marching cube since dc is simpler and better