fixed a segfault, improved normal vector calculation (still wrong though...)
Had do redo project organization after they have been overwritten :(
Merge pull request #2 from canella/v2

fixed a segfault, improved normal vector calculation but still wrong though...