Merge pull request #1 from phrodod/master

Rearrange project to follow standard C project syntax
Fixed a few bugs that were blocking compilation
Added normalized similarity matrix (observed / expected)