Rename sample size to window size.
Clean up.
Convert project to gradle.
Update .gitignore.
Move tests into test directory.