Rearranged directory structure.
Updated to version 1.1, with bugfix and option to fix edges.
Some additional code for testing and profiling.